package com.direct.ssh.domain;



/**
 * AbstractAccount entity provides the base persistence definition of the Account entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractAccount extends Entity implements java.io.Serializable {


    // Fields    
     private Employee employee;
     private String username;
     private String password;
     private String question1;
     private String question2;
     private String answer1;
     private String answer2;
     private String lastLoginTime;
     private Integer loginFailCount;


    // Constructors

    /** default constructor */
    public AbstractAccount() {
    }

	/** minimal constructor */
    public AbstractAccount(Employee employee) {
        this.employee = employee;
    }
    
    /** full constructor */
    public AbstractAccount(Employee employee, String username, String password, String question1, String question2, String answer1, String answer2, String lastLoginTime, Integer loginFailCount) {
        this.employee = employee;
        this.username = username;
        this.password = password;
        this.question1 = question1;
        this.question2 = question2;
        this.answer1 = answer1;
        this.answer2 = answer2;
        this.lastLoginTime = lastLoginTime;
        this.loginFailCount = loginFailCount;
    }

    public Employee getEmployee() {
        return this.employee;
    }
    
    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public String getUsername() {
        return this.username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return this.password;
    }
    
    public void setPassword(String password) {
        this.password = password;
    }

    public String getQuestion1() {
        return this.question1;
    }
    
    public void setQuestion1(String question1) {
        this.question1 = question1;
    }

    public String getQuestion2() {
        return this.question2;
    }
    
    public void setQuestion2(String question2) {
        this.question2 = question2;
    }

    public String getAnswer1() {
        return this.answer1;
    }
    
    public void setAnswer1(String answer1) {
        this.answer1 = answer1;
    }

    public String getAnswer2() {
        return this.answer2;
    }
    
    public void setAnswer2(String answer2) {
        this.answer2 = answer2;
    }

    public String getLastLoginTime() {
        return this.lastLoginTime;
    }
    
    public void setLastLoginTime(String lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public Integer getLoginFailCount() {
        return this.loginFailCount;
    }
    
    public void setLoginFailCount(Integer loginFailCount) {
        this.loginFailCount = loginFailCount;
    }
   








}